package webEquipeRechercheGwt.client.callback.consultation.commands;

import java.util.Collection;

import webEquipeRechercheGwt.client.allEntityShowingPanel.AllTeamPanel;
import webEquipeRechercheGwt.client.entityMirror.TeamMirror;

public class CommandGetAllTeamsImplAllTeamPanel implements CommandGetAllTeams {

	
	AllTeamPanel target;
	
	public CommandGetAllTeamsImplAllTeamPanel(AllTeamPanel target) {
		this.target = target;
	}
	
	@Override
	public void execute(Collection<TeamMirror> result) {
		target.setTeams(result);
	}

}
